/**  
* @Project: jeesite
* @Title: CoreController.java
* @Package com.thinkgem.jeesite.modules.wechat.web
* @Description: 微信主服务控制层
* @author wenxu
* @date 2016年3月2日 上午8:57:36
* @Copyright: 2016
* @version V1.0  
*/

package com.thinkgem.jeesite.modules.wechat.web;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import com.thinkgem.jeesite.common.web.BaseController;
import com.thinkgem.jeesite.modules.test.entity.Test;

/**
 * @ClassName: CoreController
 * @Description: 微信主服务控制层
 * @author wenxu
 */
@Controller
@Scope("prototype")
@RequestMapping(value = "${adminPath}/ui/ui")
public class UiController extends BaseController {

    @RequestMapping(value = {"index", ""})
    public String index(Test test, HttpServletRequest request, HttpServletResponse response, Model model) {
        return "modules/wechat/index";
    }
    
    @RequestMapping(value = {"pro", ""})
    public String pro(Test test, HttpServletRequest request, HttpServletResponse response, Model model) {
        return "modules/wechat/index_pro";
    }
}
